package co.edu.usbcali.unidades.dataaccess.dao;

import co.edu.usbcali.unidades.modelo.TipoVehiculo;

import java.math.BigDecimal;

import java.util.Date;
import java.util.List;
import java.util.Set;


/**
 * Interface for TipoVehiculoDAO.
 * @author Zathura Code Generator http://code.google.com/p/zathura
 *
 */
public interface ITipoVehiculoDAO {
    public void save(TipoVehiculo instance);

    public void delete(TipoVehiculo instance);

    public void update(TipoVehiculo instance);

    public TipoVehiculo findById(String id);

    public List<TipoVehiculo> findByExample(TipoVehiculo instance);

    public List<TipoVehiculo> findByProperty(String propertyName, Object value);

    public List<TipoVehiculo> findAll();

    public List<TipoVehiculo> findByCriteria(String whereCondition);

    public List<TipoVehiculo> findPageTipoVehiculo(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults);

    public Long findTotalNumberTipoVehiculo();

    public List<TipoVehiculo> findByTpvCodigo(Object tpvCodigo);

    public List<TipoVehiculo> findByTpvNombre(Object tpvNombre);
}
